Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/add in experiment #103

Merged
merged 8 commits into from
Dec 9, 2024
Merged

Feat/add in experiment #103

merged 8 commits into from
Dec 9, 2024

Conversation

tkhmy
Copy link
Contributor

@tkhmy tkhmy commented Jun 7, 2024

Related Issue(required)

Description(required)

Review Procedure(required)

Related PR(optional)

Pre-Review Checklist for the PR Author

PR Author should check the checkboxes below when creating the PR.

If you are adding new package following items are required:

  • Documentation with description of the package is available
  • A sample launch file and parameter file are available if the package contains executable nodes

Checklist for the PR Reviewer

Reviewers should check the checkboxes below before approval.

  • Commits are properly organized and messages are according to the guideline
  • PR title describes the changes

Post-Review Checklist for the PR Author

PR Author should check the checkboxes below before merging.

  • All open points are addressed and tracked via issues or tickets
  • Write release notes

@tkhmy tkhmy requested a review from yabuta June 7, 2024 09:37
@@ -137,14 +160,28 @@ def send_data(self, display_key, data_key):
sender.send(data, ack_query_ack, ack_data_chunk)

def trigger_external_signage(self, request, response):
if not self._external_signage_available:
return response
if request.data:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

すみません、ここにself._settings["in_experiment"] == Trueなら表示を変えない条件を入れてください
実験中の場合は自動走行中でもずっと「実証実験中」の表示にしたいです

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ed23869で修正しました。

@@ -114,15 +120,32 @@ def __init__(self, node):
"back": self._load_display_data(self.protocol.back, package_path),
"side": self._load_display_data(self.protocol.side, package_path),
}
self._settings_file = "/home/" + os.environ.get("USER") + "/settings.json"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

今回ではなくてもいいかもですが設定ファイルを置く場所は.envなどで指定できるようにして用途によっておく場所を変更できるようにできると良いかもしれませんね

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

なるほど、そうですね。
ansibleで追加してもいいと思います。

Signed-off-by: tkhmy <[email protected]>
Signed-off-by: tkhmy <[email protected]>
Signed-off-by: tkhmy <[email protected]>
Signed-off-by: tkhmy <[email protected]>
@tkhmy tkhmy force-pushed the feat/add_in_experiment branch from ed23869 to 7c0c65e Compare November 28, 2024 07:34
@tkhmy tkhmy changed the base branch from develop to beta/v2.3.1 November 28, 2024 07:34
@tkhmy tkhmy merged commit 820234d into beta/v2.3.1 Dec 9, 2024
0 of 2 checks passed
@tkhmy tkhmy deleted the feat/add_in_experiment branch December 9, 2024 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants